package com.mp.chart.data;

import java.util.ArrayList;
import java.util.List;


public class BollData
        extends BarLineScatterCandleData<BollDataSet> {

    public BollData() {
        super();
    }

    public BollData(List<String> xVals) {
        super(xVals);
    }

    public BollData(String[] xVals) {
        super(xVals);
    }

    public BollData(List<String> xVals, List<BollDataSet> dataSets) {
        super(xVals, dataSets);
    }

    public BollData(String[] xVals, List<BollDataSet> dataSets) {
        super(xVals, dataSets);
    }

    public BollData(List<String> xVals, BollDataSet dataSet) {
        super(xVals, toList(dataSet));
    }

    public BollData(String[] xVals, BollDataSet dataSet) {
        super(xVals, toList(dataSet));
    }

    private static List<BollDataSet> toList(BollDataSet dataSet) {
        List<BollDataSet> sets = new ArrayList<>();
        sets.add(dataSet);
        return sets;
    }
}